#include "ratingobject.h"

RatingObject::RatingObject(QString name)
{
    this->name = name;
}

RatingObject::~RatingObject()
{
    qDeleteAll(criteries);
}

QString RatingObject::getName()
{
    return name;
}

QList<RatingCriteria*>& RatingObject::getCriteries()
{
    return criteries;
}
